# -*- coding: utf-8 -*-

from mktsend import Sender

username = 'sussan'
password = 'suSSan42'


s = Sender(username, password)
# Contactos segun RFC 822
# http://www.ietf.org/rfc/rfc0822.txt
# http://docs.python.org/library/rfc822.html
to = [
        unicode('Lucas Bonomo <lucas@vgnet.com.ar>','utf-8'),
        unicode('Cesar Portela <ceportela@gmail.com>','utf-8'),
        unicode('Diego Levental <dlevental@gmail.com>','utf-8'),
        ]
subject = unicode('Asunto de Prueba!...','utf-8')
text = unicode('Prueba solo texto.')
html = unicode('''<h1>Prueba HTML</h1><p>Él rápídó ñandú córŕíä ṕóŕ lä prädërä</p>
<center><img src="http://www.sussanboutique.com.ar/img/logosussan.png"></center>''','utf-8')

print s.send(to,subject,text,html) # Esta linea debe devolver un "OK"
